|
|
|
|
<Spreadsheet>.AddImage (Function) In french: <Tableur>.AjouteImage Adds an image into the current worksheet of a Spreadsheet control. // Add the logo.png image between A2 and B5 PSHEET_Spreadsheet.AddImage("c:\temp\logo.png", "A2", "B5")  // Add the banner.png image at C6 position PSHEET_Spreadsheet.AddImage("c:\temp\banner.png", "C6")
Syntax
<Result> = <Spreadsheet control>.AddImage(<Image> , <Insertion cell> [, <End cell>])
<Result>: Character string Identifier of added image. <Spreadsheet control>: Control name Name of the Spreadsheet control to be used. <Image>: Character string Full path of image file that will be added into the control. <Insertion cell>: Character string Coordinate of cell where the upper-left corner of the image must be positioned. <End cell>: Character string Coordinate of cell where the right bottom corner of the image must be positioned. The image covers the cell. If this property is not specified, the image is inserted with its size set to 100%.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|